using System;
using System.Collections.Generic;
using System.Text;

namespace QLPMT_DTO
{
   public class BenhNhan
    {
        private string _mabenhnhan;

        public string Mabenhnhan
        {
            get { return _mabenhnhan; }
            set { _mabenhnhan = value; }
        }
        private string _hoten;

        public string Hoten
        {
            get { return _hoten; }
            set { _hoten = value; }
        }
        private int _gioitinh;

        public int Gioitinh
        {
            get { return _gioitinh; }
            set { _gioitinh = value; }
        }
        private int _namsinh;

        public int Namsinh
        {
            get { return _namsinh; }
            set { _namsinh = value; }
        }
        private string _diachi;

        public string Diachi
        {
            get { return _diachi; }
            set { _diachi = value; }
        }
        private string _tengioitinh;

        public string Tengioitinh
        {
            get { return _tengioitinh; }
            set { _tengioitinh = value; }
        }
        private string _trieuchung;

        public string Trieuchung
        {
            get { return _trieuchung; }
            set { _trieuchung = value; }
        }
        private string _loaibenh;

        public string Loaibenh
        {
            get { return _loaibenh; }
            set { _loaibenh = value; }
        }
        private DateTime _NgayTiepNhan;

        public DateTime NgayTiepNhan
        {
            get { return _NgayTiepNhan; }
            set { _NgayTiepNhan = value; }
        }

       public BenhNhan(string ma,string hoten,int gioitinh,int namsinh,string diachi)
       {
           this._mabenhnhan = ma;
           this._hoten = hoten;
           this._gioitinh = gioitinh;
           this._namsinh = namsinh;
           this._diachi = diachi;

       }
       public BenhNhan(string ma, string hoten, int gioitinh, int namsinh, string diachi, DateTime ngay)
       {
           this._mabenhnhan = ma;
           this._hoten = hoten;
           this._gioitinh = gioitinh;
           this._namsinh = namsinh;
           this._diachi = diachi;
           this._NgayTiepNhan = ngay;

       }
       public BenhNhan(string ma, string hoten, string gioitinh, int namsinh, string diachi)
       {
           this._mabenhnhan = ma;
           this._hoten = hoten;
           this._tengioitinh = gioitinh;
           this._namsinh = namsinh;
           this._diachi = diachi;

       }
       public BenhNhan()
       {
       }
       public BenhNhan(string ma, string hoten, string gioitinh, int namsinh, string diachi,DateTime ngay)
       {
           this._mabenhnhan = ma;
           this._hoten = hoten;
           this._tengioitinh = gioitinh;
           this._namsinh = namsinh;
           this._diachi = diachi;
           this._NgayTiepNhan = ngay;

       }
       public BenhNhan(string ma, string hoten, int gioitinh, int namsinh, string diachi,string loaibenh,string trieuchung)
       {
           this._mabenhnhan = ma;
           this._hoten = hoten;
           this._gioitinh = gioitinh;
           this._namsinh = namsinh;
           this._diachi = diachi;
           this._loaibenh = loaibenh;
           this._trieuchung = trieuchung;

       }
    }
}
